<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Module Image: /home/antoine/LIF7_td/src/image.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Module Image
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">image.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="image_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef IMAGE_H_INCLUDED</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define IMAGE_H_INCLUDED</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include&lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include&quot;<a class="code" href="pixel_8h.html">pixel.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include&lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="code" href="structImage.html">    8</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="code" href="structImage.html#aa8d8f858fa81a873f20acdb61281bfb3">    9</a></span>&#160;               <a class="code" href="structPixel.html">Pixel</a> * <a class="code" href="structImage.html#aa8d8f858fa81a873f20acdb61281bfb3">tab</a>;</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="code" href="structImage.html#a846f530876e1296835bd6ab42a22890d">   10</a></span>&#160;               <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structImage.html#a846f530876e1296835bd6ab42a22890d">dimx</a>;</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="code" href="structImage.html#a02275f30d94fbc73fd8f6d594823acf4">   11</a></span>&#160;               <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structImage.html#a02275f30d94fbc73fd8f6d594823acf4">dimy</a>;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;             }<a class="code" href="structImage.html">Image</a>;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#a09752f3133d816f341b8829132336043" title="imInit initialise dimx et dimy (après vérification) de la structure Image puis alloue le tableau de p...">imInit</a>(<a class="code" href="structImage.html">Image</a>* Im,<span class="keywordtype">int</span> dimx, <span class="keywordtype">int</span> dimy );</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#a5c53a00ee1712cbf4236ecf8c5c34471">imLibere</a>(<a class="code" href="structImage.html">Image</a> * Im);</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<a class="code" href="structImage.html">Image</a>* <a class="code" href="image_8c.html#a9a91b54dbb066e5d191fb6f23316c7f4">imCreer</a>(<span class="keywordtype">int</span> dimx, <span class="keywordtype">int</span> dimy);</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#a0432c9a9f4a307b34549cca27df59fb6">imDetruire</a>(<a class="code" href="structImage.html">Image</a> ** pim);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;/</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<a class="code" href="structPixel.html">Pixel</a> <a class="code" href="image_8c.html#ae312c8b781c888ee84c25bda908a3b55">getPix</a>(<span class="keyword">const</span> <a class="code" href="structImage.html">Image</a>* Im, <span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y ) ;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#a5547e2784de260bc57e46673adbc4121">setPix</a>(<a class="code" href="structImage.html">Image</a>* Im, <span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y , <span class="keyword">const</span> <a class="code" href="structPixel.html">Pixel</a>* couleur);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keywordtype">void</span>  <a class="code" href="image_8c.html#ab37b9cd64497d1e4fb0b87a8c6fb7873">imDessineRectangle</a>(<a class="code" href="structImage.html">Image</a> * Im, <span class="keywordtype">int</span>  Xmin,<span class="keywordtype">int</span> Ymin,<span class="keywordtype">int</span> Xmax,<span class="keywordtype">int</span> Ymax ,<span class="keyword">const</span> <a class="code" href="structPixel.html">Pixel</a> * couleur);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keywordtype">void</span>  <a class="code" href="image_8c.html#afe91cb0a289ff537a64ef98dd333e71f">imEffacer</a>(<a class="code" href="structImage.html">Image</a> * Im, <span class="keyword">const</span> <a class="code" href="structPixel.html">Pixel</a> * couleur);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#a20b9ad35b6db7bd09d7452574d04dd50">imSauver</a>(<span class="keyword">const</span> <a class="code" href="structImage.html">Image</a> *pIm, <span class="keyword">const</span> <span class="keywordtype">char</span> filename[]);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#a0a1f0b9be4b910e1cfc2648cfa9e38fd">imOuvrir</a>(<a class="code" href="structImage.html">Image</a> *pIm, <span class="keyword">const</span> <span class="keywordtype">char</span> filename[]);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8c.html#afadf8ab43119d304c72e201d0d95164d">imPrintf</a>(<span class="keyword">const</span> <a class="code" href="structImage.html">Image</a> *pIm);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keywordtype">void</span>  <a class="code" href="image_8c.html#a8d4964490fb1a67b590ce77acd78031f">imTestRegression</a>();</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 5 2013 14:19:51 for Module Image by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>
